package org.example.dao.impl;

import org.example.dao.BookDao;
import org.springframework.beans.factory.DisposableBean;
import org.springframework.beans.factory.InitializingBean;

public class BookDaoimpl implements BookDao, InitializingBean, DisposableBean {
    @Override
    public void save() {
        System.out.println("book dao save...");
    }

    @Override
    public void update() {
        System.out.println("ccccc");
    }

    public void destroy()throws Exception {
        System.out.println("destroy");
    }

    @Override
    public void afterPropertiesSet() throws Exception {
        System.out.println("init");
    }

}
